package cn.istartfinancial.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author: Nzp
 * @date: 2018/8/22
 * @description: 角色用户实体
 */
@Table(name = "sys_role_user")
public class SysRoleUser
{
    @Id
    @Column(name = "user_id")
    private String userId;


    @Column(name = "role_id")
    private String roleId;

    /**
     * @return user_id
     */
    public String getUserId()
    {
        return userId;
    }

    /**
     * @param userId
     */
    public void setUserId(String userId)
    {
        this.userId = userId == null ? null : userId.trim();
    }

    /**
     * @return role_id
     */
    public String getRoleId()
    {
        return roleId;
    }

    /**
     * @param roleId
     */
    public void setRoleId(String roleId)
    {
        this.roleId = roleId == null ? null : roleId.trim();
    }
}